package com.kgc.storeprovider.dao;

import com.kgc.store.pojo.CostAdjustment;
import com.kgc.store.pojo.ProMove;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ProMoveMapper {
    public ProMove selectByCode(String code);
    public List<ProMove> getAllProMove(Map<String,Object> map);
    public int getProMoveCount(Map<String,Object> map);
    public int addProMove(ProMove proMove);
    public int updateProMove(ProMove proMove);
    public int delProMove(String code);
    public int addDetail(Map<String,Object> map);
    public int delDetail(Map<String,Object> map);
    public int deleteDetail(String code);
    public int changeStatus(@Param("code") String code, @Param("status")String status);
}
